package com.weiyuwqj.server.service.account.module.action;

import com.weiyuwqj.api.constant.DealType;

import java.math.BigDecimal;

/**
 * Created by pg on 15/11/28.
 */
public class InviteDealAction extends AbstractDealAction {

    @Override
    public void instance(Integer userId, BigDecimal operMoney, String remark) {
        super.instance(userId, operMoney, remark);
        log.setOperType(DealType.INVITE_INVEST_AWARD);
    }

    @Override
    public void dealAccount() {
        log.setUsable(log.getOperMoney());
    }

}
